package com.sas.repository;

import java.util.List;

import com.sas.domain.Article;
import com.sas.domain.ArticleField;

public interface ArticleRepository extends GenericRepository<Article> {

	public boolean exists(Article art);
	/*public List<Article> findAllSortedBy(String sortName, Boolean asc);

	public int size();*/

	public List<Article> findByArticleField(ArticleField af, String property,
			boolean ascending);

	public Article findByCode(String articleCode);
	
}
